package com.ruoyi.factory.costControl.domain;

import java.util.List;

/**
 * 供应商信息
 */
public class SupplierInfo {
    //主键
    private String pk_supplier;
    //组织主键
    private String pk_org;
    //组织名称
    private String pk_orgname;
    //供应商编码
    private String code;
    //供应商名称
    private String name;
    //供应商简称
    private String shortname;
    //供应商类型
    private String supprop;
    //统一社会信用代码
    private String taxpayerid;
    //法人
    private String legalbody;
    //企业地址
    private String detailinfo;
    //状态
    private String enablestate;
    //供应商分类id
    private String pk_supplierclass;
    //供应商分类编码
    private String pk_supplierclasscode;
    //供应商分类名称
    private String pk_supplierclassname;
    //上级供应商
    private String pk_supplier_main;
    //供应商组织分配关系
    private List<SupplierByOrgInfo> supplierorgs;

    //组织主键
    private String mappk_org;
    //组织名称
    private String mappk_orgname;
    //组织编码
    private String mappk_orcode;
    //是否启用
    private String mapenablestate;

    public String getMappk_org() {
        return mappk_org;
    }

    public void setMappk_org(String mappk_org) {
        this.mappk_org = mappk_org;
    }

    public String getMappk_orgname() {
        return mappk_orgname;
    }

    public void setMappk_orgname(String mappk_orgname) {
        this.mappk_orgname = mappk_orgname;
    }

    public String getMappk_orcode() {
        return mappk_orcode;
    }

    public void setMappk_orcode(String mappk_orcode) {
        this.mappk_orcode = mappk_orcode;
    }

    public String getMapenablestate() {
        return mapenablestate;
    }

    public void setMapenablestate(String mapenablestate) {
        this.mapenablestate = mapenablestate;
    }

    public List<SupplierByOrgInfo> getSupplierorgs() {
        return supplierorgs;
    }

    public void setSupplierorgs(List<SupplierByOrgInfo> supplierorgs) {
        this.supplierorgs = supplierorgs;
    }

    public String getPk_supplier_main() {
        return pk_supplier_main;
    }

    public void setPk_supplier_main(String pk_supplier_main) {
        this.pk_supplier_main = pk_supplier_main;
    }

    public String getPk_supplierclass() {
        return pk_supplierclass;
    }

    public void setPk_supplierclass(String pk_supplierclass) {
        this.pk_supplierclass = pk_supplierclass;
    }

    public String getPk_supplierclasscode() {
        return pk_supplierclasscode;
    }

    public void setPk_supplierclasscode(String pk_supplierclasscode) {
        this.pk_supplierclasscode = pk_supplierclasscode;
    }

    public String getPk_supplierclassname() {
        return pk_supplierclassname;
    }

    public void setPk_supplierclassname(String pk_supplierclassname) {
        this.pk_supplierclassname = pk_supplierclassname;
    }

    public String getPk_supplier() {
        return pk_supplier;
    }

    public void setPk_supplier(String pk_supplier) {
        this.pk_supplier = pk_supplier;
    }

    public String getPk_org() {
        return pk_org;
    }

    public void setPk_org(String pk_org) {
        this.pk_org = pk_org;
    }

    public String getPk_orgname() {
        return pk_orgname;
    }

    public void setPk_orgname(String pk_orgname) {
        this.pk_orgname = pk_orgname;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public String getSupprop() {
        return supprop;
    }

    public void setSupprop(String supprop) {
        this.supprop = supprop;
    }

    public String getTaxpayerid() {
        return taxpayerid;
    }

    public void setTaxpayerid(String taxpayerid) {
        this.taxpayerid = taxpayerid;
    }

    public String getLegalbody() {
        return legalbody;
    }

    public void setLegalbody(String legalbody) {
        this.legalbody = legalbody;
    }

    public String getDetailinfo() {
        return detailinfo;
    }

    public void setDetailinfo(String detailinfo) {
        this.detailinfo = detailinfo;
    }

    public String getEnablestate() {
        return enablestate;
    }

    public void setEnablestate(String enablestate) {
        this.enablestate = enablestate;
    }


    @Override
    public String toString() {
        return "SupplierInfo{" +
                "pk_supplier='" + pk_supplier + '\'' +
                ", pk_org='" + pk_org + '\'' +
                ", pk_orgname='" + pk_orgname + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", shortname='" + shortname + '\'' +
                ", supprop='" + supprop + '\'' +
                ", taxpayerid='" + taxpayerid + '\'' +
                ", legalbody='" + legalbody + '\'' +
                ", detailinfo='" + detailinfo + '\'' +
                ", enablestate='" + enablestate + '\'' +
                ", pk_supplierclass='" + pk_supplierclass + '\'' +
                ", pk_supplierclasscode='" + pk_supplierclasscode + '\'' +
                ", pk_supplierclassname='" + pk_supplierclassname + '\'' +
                ", pk_supplier_main='" + pk_supplier_main + '\'' +
                ", supplierorgs=" + supplierorgs +
                ", mappk_org='" + mappk_org + '\'' +
                ", mappk_orgname='" + mappk_orgname + '\'' +
                ", mappk_orcode='" + mappk_orcode + '\'' +
                ", mapenablestate='" + mapenablestate + '\'' +
                '}';
    }
}
